<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <a href='https://www.example.com'>A link to my example.</a>

    <a href="https://www.example.com">A link to my example.</a>

<!-- wrong -->
    <a href="https://www.example.com'>A link to my example.</a>

    <!-- if you use one type of quote, you can include the other type of quote inside your attribute values -->
    <a href="https://www.example.com" title="Isn't this fun?">
    A link to my example.
  </a>
  

    <!-- To use quote marks inside other quote marks of the same type (single quote or double quote), use HTML entities.  -->
    <!-- For example, this will break: -->
    <a href="https://www.example.com" title="An "interesting" reference">A link to my example.</a>


    <a href="https://www.example.com" title="An &quot;interesting&quot; reference">A link to my example.</a>

</body>
</html>